package com.tpu.osu.rating.service;

import java.util.List;

import com.tpu.osu.rating.Vote;

public interface VoteService
{

    public void create(Vote aVote) throws Exception;

    public void update(Vote aVote) throws Exception;

    public void delete(String aPIN) throws Exception;

    public Vote find(String aPIN) throws Exception;

    public List<Vote> findByLector(String aLector) throws Exception;

    public List<Vote> findByGroup(String aGroup) throws Exception;

    public List<Vote> findByLectorAndGroup(String aLector, String aGroup) throws Exception;

}
